package com.groupThree.util;

import com.google.gson.Gson;

public class JSONUtil {
    private static Gson g = new Gson();
    //返回一个json格式的对象工具
    public static String toJSON(Object obj){
        return g.toJson(obj);
    }
}
